<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:forEach items="${floor1 }" var="tmp">
<tr id="${tmp.id }" parent="${tmp.pid }">
	<input type="hidden" id="msg11" value="">
	<td colspan="2" align="center">
		<ul class="addclass">
			<li><c:if test="${tmp.level!=0 }">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</c:if></li>
			<li><c:if test="${tmp.level==2 }">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</c:if></li>
			<li class="ac1">
				<input name="addorsubtract_1" id="addorsubtract_1" type="hidden" value="yes">
				<c:if test="${tmp.level!=2 }">
				<img src="/images/jian.jpg" cls="jian" level="${tmp.level }" width="14" height="14" id="${tmp.id }" onclick="addorsubtract(this,&#39;${tmp.id}&#39;)" style="cursor: pointer;">
				</c:if>
			</li>
			<li class="ac2">
				<span class="num">
					<input type="text" name="1" id="1" cls="1" value="1" onblur="ajax_updatefloornameseq(&#39;1&#39;,&#39;sequence&#39;,this)" title="可编辑">
				</span>
			</li>
			<li class="ac3">
				<span class="classies">
					<input type="text" name="1" id="1" cls="${tmp.name }" value="${tmp.name }" onblur="ajax_updatefloornameseq(&#39;1&#39;,&#39;className&#39;,this)" title="可编辑">
				</span>
				<c:if test="${tmp.level!=2 }">
				<span class="newclass">
					<a href="/floor/shopping_floor_add?pid=${tmp.id }&flg=add&level=${tmp.level }">新增下级</a>
				</span>
				</c:if>
			</li>
		</ul>
	</td>
	<td align="center"></td>
	<td align="center">
		<img src="/images/yes.png" width="21" height="23" onclick="ajax_updateyesnoshow(&#39;1&#39;,&#39;display&#39;,this)" style="cursor: pointer;" title="可编辑" class="yes">
	</td>
	<td align="center" class="ac8">
		<a href="http://localhost:8080/floor/updateFloor?id=1">编辑</a> |
		<a id="id" href="javascript:void(0);" onclick="ajax_deletefloorone(&#39;1&#39;)">删除</a>
	</td>
</tr>
</c:forEach>